<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no, initial-scale=1" />
		<meta content="yes" name="apple-mobile-web-app-capable" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta content="telephone=no" name="format-detection" />
		<title>申请失败</title>
		<link rel="stylesheet" type="text/css" href="../../unifypreloan/css/base.css" />
	</head>

	<body>
		<form id="myForm" name='myForm' action="" method="post">
			<input type="hidden" name="entityId" id="entityId" th:value='${merchantNo}' />
			<input type="hidden" name="sign" id="sign" th:value='${sign}' />
		</form>	
		<div th:replace="~{common/layout :: header}"></div>
		<div class="fixBottom bgf fh1 pb20">
		<div class="wx-btn wx-btnh" onclick="returnHome()">返回首页</div>
		</div>
		<div class="wx-content">
		<div class="icon-box">
			<span class="iconfont icon-shibai"></span>
			<div class="f16 cl3 fn pt22" th:text="${message != null} ? ${message} : '对不起，您暂时不能申请此贷款'"></div>
		</div>
		</div>
		<script type="text/javascript" src="../../unifypreloan/vendor/jquery-2.1.3.min.js" ></script>
		<script type="text/javascript" src="../../unifypreloan/js/wx.js"></script>
		<script type="text/javascript">
			function returnHome(){
		  		   $("#myForm").attr("action", "login");
		  		   $("#myForm").submit();
			}
		</script>
	</body>
</html>